<?php echo $this->doctype('XHTML5') ?>
<html lang="pt-br">
    <head>
        <meta charset="utf-8" />
        <link rel="shortcut icon" href="/structure/images/ico/favicon.ico" type="image/x-icon" />
        <link rel="icon" href="/structure/images/ico/favicon.ico" type="image/x-icon" />
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <?php echo $this->headTitle('Secretaria de Esporte | Governo do Distrito Federal')->setSeparator(' - ')->setAutoEscape(false) ?>

        <?php
        echo $this->headMeta()
                ->appendName('viewport', 'width=device-width, initial-scale=1.0')
                ->appendName('author', "Brasília Conectada Soluções Inteligentes em TI")
                ->appendName('publisher', "Jair Foro")
                ->appendName('rating', "General")
                ->appendName('expires', "0")
                ->appendName('language', "portuguese, PT-BR")
                ->appendName('description', "Descrição")
                ->appendName('keywords', "Keyword");
        ?>

        <!-- Le styles -->       
        <?php
        echo $this->headLink(array('rel' => 'shortcut icon', 'href' => $this->basePath() . '/images/ico/favicon.ico'))
                ->prependStylesheet("/structure/bootstrap/css/bootstrap.css")
                ->prependStylesheet("/structure/css/themes/default.css")
                ->prependStylesheet("/structure/bootstrap/css/bootstrap-responsive.css")
                ->prependStylesheet("/structure/scripts/fullcalendar/fullcalendar/fullcalendar.css")
                ->prependStylesheet("/structure/scripts/datepicker/css/datepicker.css")
                ->prependStylesheet("/structure/scripts/blueimp-jQuery-File-Upload/css/jquery.fileupload-ui.css")
                ->prependStylesheet("/structure/scripts/Bootstrap-Image-Gallery/css/bootstrap-image-gallery.min.css")
                ->prependStylesheet("/structure/scripts/uniform/css/uniform.default.css")
                ->prependStylesheet("/structure/scripts/chosen/chosen/chosen.intenso.css")
                ->prependStylesheet("/structure/css/simplenso.css")
                ->prependStylesheet("/structure/css/login.css")
        ?>

        <!-- Scripts -->
        <?php
        echo $this->headScript()->appendFile("/structure/js/jquery.min.js")
                ->appendFile("/structure/scripts/DataTables/media/js/jquery.dataTables.js")
                ->appendFile("/structure/scripts/DataTables/media/js/paging.js")
                ->appendFile("/structure/scripts/jquery-ui/ui/minified/jquery.ui.core.min.js")
                ->appendFile("/structure/scripts/jquery-ui/ui/minified/jquery.ui.widget.min.js")
                ->appendFile("/structure/scripts/jquery-ui/ui/minified/jquery.ui.mouse.min.js")
                ->appendFile("/structure/scripts/jquery-ui/ui/minified/jquery.ui.sortable.min.js")
                ->appendFile("/structure/scripts/jquery-ui/ui/minified/jquery.ui.widget.min.js")
                ->appendFile("/structure/scripts/jquery-ui/ui/minified/jquery.ui.draggable.min.js")
                ->appendFile("/structure/scripts/jquery-ui/ui/minified/jquery.ui.droppable.min.js")
                ->appendFile("/structure/bootstrap/js/bootstrap.min.js")
                ->appendFile("/structure/scripts/datepicker/js/bootstrap-datepicker.js")
                ->appendFile("/structure/scripts/jquery.cookie/jquery.cookie.js")
                ->appendFile("/structure/scripts/fullcalendar/fullcalendar/fullcalendar.min.js")
                ->appendFile("/structure/scripts/ckeditor/ckeditor.js")
                ->appendFile("/structure/scripts/ckeditor/adapters/jquery.js")
                ->appendFile("/structure/scripts/chosen/chosen/chosen.jquery.min.js")
                ->appendFile("/structure/scripts/uniform/jquery.uniform.min.js")
                ->appendFile("/structure/scripts/JavaScript-Templates/tmpl.min.js")//parte abaixo
                ->appendFile("/structure/scripts/JavaScript-Load-Image/load-image.min.js")
                ->appendFile("/structure/scripts/JavaScript-Canvas-to-Blob/canvas-to-blob.min.js")
                ->appendFile("/structure/scripts/Bootstrap-Image-Gallery/js/bootstrap-image-gallery.min.js")
                ->appendFile("/structure/scripts/blueimp-jQuery-File-Upload/js/jquery.iframe-transport.js")
                ->appendFile("/structure/scripts/blueimp-jQuery-File-Upload/js/jquery.fileupload.js")
                ->appendFile("/structure/scripts/blueimp-jQuery-File-Upload/js/jquery.fileupload-ip.js")
                ->appendFile("/structure/scripts/blueimp-jQuery-File-Upload/js/jquery.fileupload-ui.js")
                ->appendFile("/structure/scripts/blueimp-jQuery-File-Upload/js/main.js")
                ->appendFile("/structure/scripts/blueimp-jQuery-File-Upload/js/cors/jquery.xdr-transport.js")
                ->appendFile("/structure/js/Utils.js")
                ->appendFile("/structure/js/mask.js")
                ->appendFile("/structure/scripts/simplenso/simplenso.js");
        ?>
    </head>
    <body id="dashboard">
        <!-- Main Content Area | Side Nav | Content -->    
        <div class="container">
            <!-- Content -->
            <div class="span10">
                <div id="login-container">
                    <?php
                    if ($this->error == 'fail') {
                        echo "<div class=\"alert alert-error\">
    <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button><strong>E-mail ou Data de Nascimento inválido.</strong></div>";
                    }elseif($this->error == 'success'){
                        echo "<div class=\"alert alert-success\">
    <button type=\"button\" class=\"close\" data-dismiss=\"alert\">×</button><strong>Senha enviada para o e-mail cadastrado.
</strong></div>";
                    }
                    ?>
                    
                    <div id="login-header">	
                        <h3>Esqueceu a senha?</h3>		
                    </div>
                    <div id="login-content" class="clearfix">
                        <?php
                        $form = $this->form;
                        $form->setAttribute('action', $this->url('sisesporte-admin-auth-forgot'));
                        $form->prepare();
                        echo $this->form()->openTag($form);
                        ?>
                        <fieldset>
                            <div class="control-group">
                                <div class="controls">
                                    <?php echo $this->formRow($form->get('noEmail')) ?>
                                </div>
                            </div>
                            <div class="control-group">
                                <div class="input-append date" id="dpDtNascimento" data-date="<?php echo date('d/m/Y') ?>" data-date-format="dd/mm/yyyy">
                                    <?php echo $this->formRow($form->get('dtNascimento')) ?>
                                    <span class="add-on"><i class="icon-calendar"></i></span>
                                </div>
                            </div>
                        </fieldset>

                        <div class="pull-right">
                            <button type="submit" class="btn btn-success btn-large">
                                Entrar
                            </button>
                            <a href="<?php echo $this->url('sisesporte-admin-auth') ?>" title="Cancelar" class="btn btn-success btn-large">
                                Cancelar
                            </a>
                        </div>
                        <?php
                        echo $this->form()->closeTag();
                        ?>
                    </div> 

                </div>
                <!-- Fim Content -->
            </div><!--/row-->
        </div>
        <!-- Rodapé -->
        <footer>
            <p>&copy; Secretaria de Esporte | Governo do Distrito Federal 2013</p>
        </footer>
        <!-- Fim Rodapé -->
    </body>
</html>
<script src="/js/sisesporte-admin/auth/esqueci-senha.js"></script>